﻿''' <summary>
''' Configures a database index for enclosing type.
''' </summary>
''' <remarks></remarks>
Public Class IndexModel

    ''' <summary>
    ''' Configures a single index key.
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property IndexKey As IndexKeyModel

    ''' <summary>
    ''' The name prefix of the index.
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property Name As String

    ''' <summary>
    ''' If 'true', the value of this attribute has to be unique 
    ''' within all instances of this index. Attributes with 
    ''' persistence type set to 'jalo' can not be unique. 
    ''' Default is 'false'.
    ''' </summary>
    ''' <value></value>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Property Unique As Boolean

End Class
